package lg.minecraft.plugin.cobblemoncore.config;

import lg.minecraft.plugin.cobblemoncore.LGCobblemonCore;
import lg.minecraft.plugin.library.config.LGBaseConfig;
import lombok.Getter;

/**
 * @author langle__
 * @version 1.0
 */
@Getter
public class MainConfig extends LGBaseConfig {

    private boolean ability = false;
    private boolean elementalType = false;
    private boolean gender = false;
    private boolean move = false;
    private boolean nature = false;
    private boolean pokeBall = false;
    private boolean species = false;

    public MainConfig() {
        super(LGCobblemonCore.getInstance(), "config");
        this.saveDefault();
    }

    @Override
    public void load() {
        super.load();

        ability = getBoolean("ability");
        elementalType = getBoolean("elemental_type");
        gender = getBoolean("gender");
        move = getBoolean("move");
        nature = getBoolean("nature");
        pokeBall = getBoolean("poke_ball");
        species = getBoolean("species");
    }

}
